package com.hmkj.admin;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Donfy on 2017/3/10.
 */
//@Configuration
@SpringBootApplication
@MapperScan(basePackages = "com.hmkj.core.mapper")
@ComponentScan(basePackages = {
        "com.hmkj.boot.config",
        "com.hmkj.boot.interceptor",
        "com.hmkj.boot.mybatis",
        "com.hmkj.boot.utils",
        "com.hmkj.admin",
        "com.hmkj.core",
})
//@ServletComponentScan("com.hmkj.boot.config")
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}